package com.jinmdz.fmis.api.admin.model.loungehome;

import com.jinmdz.fmis.common.annotation.AnValidate;
import com.jinmdz.fmis.common.constant.EValidateCode;
import com.jinmdz.fmis.core.base.BaseBean;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 休息室信息
 *
 * @author SunZhaoQi
 * @date 2020/8/24 13:26
 */
@ApiModel(value = "休息室信息", description = "休息室信息")
public class LoungeHomeSaveData extends BaseBean {

    /**
     * 主键
     */
    @AnValidate(name = "主键",code = EValidateCode.NO_LESS_ZERO)
    @ApiModelProperty(value = "主键", name = "id", position = 1)
    private Integer id;

    /**
     * 休息室类型编码
     */
    @AnValidate(name = "休息室类型编码", required = true)
    @ApiModelProperty(value = "休息室类型编码", name = "home_type_code", position = 2)
    private Integer homeTypeCode;

    /**
     * 礼厅编码
     */
    @AnValidate(name = "礼厅编码", required = true)
    @ApiModelProperty(value = "礼厅编码", name = "home_code", position = 3)
    private String homeCode;

    /**
     * 礼厅名称
     */
    @AnValidate(name = "礼厅名称", required = true)
    @ApiModelProperty(value = "礼厅名称", name = "home_name", position = 4)
    private String homeName;

    /**
     * 禁用状态
     */
    @ApiModelProperty(value = "禁用状态", name = "disable_state", position = 5)
    private Integer disableState;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序", name = "sort", position = 6)
    private Integer sort;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注", name = "remark", position = 7)
    private String remark;

    /**
     * 数据版本号
     */
    @ApiModelProperty(value = "数据版本号", name = "version", position = 8)
    private Long version;

    public Integer getId() {
        return id;
    }

    public LoungeHomeSaveData setId(Integer id) {
        this.id = id;
        return this;
    }

    public Integer getHomeTypeCode() {
        return homeTypeCode;
    }

    public LoungeHomeSaveData setHomeTypeCode(Integer homeTypeCode) {
        this.homeTypeCode = homeTypeCode;
        return this;
    }

    public String getHomeCode() {
        return homeCode;
    }

    public LoungeHomeSaveData setHomeCode(String homeCode) {
        this.homeCode = homeCode;
        return this;
    }

    public String getHomeName() {
        return homeName;
    }

    public LoungeHomeSaveData setHomeName(String homeName) {
        this.homeName = homeName;
        return this;
    }

    public Integer getDisableState() {
        return disableState;
    }

    public LoungeHomeSaveData setDisableState(Integer disableState) {
        this.disableState = disableState;
        return this;
    }

    public Integer getSort() {
        return sort;
    }

    public LoungeHomeSaveData setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public String getRemark() {
        return remark;
    }

    public LoungeHomeSaveData setRemark(String remark) {
        this.remark = remark;
        return this;
    }

    public Long getVersion() {
        return version;
    }

    public LoungeHomeSaveData setVersion(Long version) {
        this.version = version;
        return this;
    }
}
